package top.xtcoder.jdcbase.base.knife4j;

import org.springframework.stereotype.Component;

public class Knife4jPBRequestParameter {
    private String name;
    private String description;
    private String modelRef;
    private boolean required;
    private String parameterType;

    public Knife4jPBRequestParameter() {
    }

    public Knife4jPBRequestParameter(String name, String description, String modelRef, boolean required, String parameterType) {
        this.name = name;
        this.description = description;
        this.modelRef = modelRef;
        this.required = required;
        this.parameterType = parameterType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getModelRef() {
        return modelRef;
    }

    public void setModelRef(String modelRef) {
        this.modelRef = modelRef;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }
}
